package com.ocean.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 t_s_log
 * 
 * @author ocean
 * @date 2024-06-25
 */
public class TSLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id
     * */
    private String ID;

    /** $column.columnComment */
    @Excel(name = "${comment}")
    private String broswer;

    /** $column.columnComment */
    @Excel(name = "日志内容")
    private String logcontent;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer loglevel;

    /** $column.columnComment */
    @Excel(name = "操作IP")
    private String note;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date operatetime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer operatetype;

    /** $column.columnComment */
    @Excel(name = "操作人")
    private String userid;

    public void setID(String ID) 
    {
        this.ID = ID;
    }

    public String getID() 
    {
        return ID;
    }
    public void setBroswer(String broswer) 
    {
        this.broswer = broswer;
    }

    public String getBroswer() 
    {
        return broswer;
    }
    public void setLogcontent(String logcontent) 
    {
        this.logcontent = logcontent;
    }

    public String getLogcontent() 
    {
        return logcontent;
    }
    public void setLoglevel(Integer loglevel) 
    {
        this.loglevel = loglevel;
    }

    public Integer getLoglevel() 
    {
        return loglevel;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setOperatetime(Date operatetime) 
    {
        this.operatetime = operatetime;
    }

    public Date getOperatetime() 
    {
        return operatetime;
    }
    public void setOperatetype(Integer operatetype) 
    {
        this.operatetype = operatetype;
    }

    public Integer getOperatetype() 
    {
        return operatetype;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("broswer", getBroswer())
            .append("logcontent", getLogcontent())
            .append("loglevel", getLoglevel())
            .append("note", getNote())
            .append("operatetime", getOperatetime())
            .append("operatetype", getOperatetype())
            .append("userid", getUserid())
            .toString();
    }
}
